package com.example.springbootdemo.config;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Hello {
    @Value("你好")
    private String message;
    public void say(){
        System.out.println("==========="+this.message);
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
